\hypertarget{class_alfar_engine_1_1_components_1_1_light}{
\section{\-Alfar\-Engine.\-Components.\-Light \-Class \-Reference}
\label{class_alfar_engine_1_1_components_1_1_light}\index{\-Alfar\-Engine.\-Components.\-Light@{\-Alfar\-Engine.\-Components.\-Light}}
}
\-Inheritance diagram for \-Alfar\-Engine.\-Components.\-Light\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_alfar_engine_1_1_components_1_1_light}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_afd0db11c554d211a5a732c4eb6e82788}{
{\bfseries \-Light} (\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} p\-Owner)}
\label{class_alfar_engine_1_1_components_1_1_light_afd0db11c554d211a5a732c4eb6e82788}

\item 
override void \hyperlink{class_alfar_engine_1_1_components_1_1_light_a9e9a51fbe2b7984a1dae6125870a4995}{\-Update} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Update this components (override to add specific behaviour) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_alfar_engine_1_1_components_1_1_light_a5f00dfe15eaeb1d321faf83549fa2d4a}{\-Render\-Shadows} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Render the shadow\-Map of all visible light. \end{DoxyCompactList}\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a5329cba3a44b374b01ae96078df1d6d0}{
static void {\bfseries \-Draw\-Shadow} ()}
\label{class_alfar_engine_1_1_components_1_1_light_a5329cba3a44b374b01ae96078df1d6d0}

\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a20f56ef6f3f86fb01453ecd4bccda58a}{
virtual void {\bfseries set\-Range} (float p\-Range)}
\label{class_alfar_engine_1_1_components_1_1_light_a20f56ef6f3f86fb01453ecd4bccda58a}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a61fa6b5aee0fc4dabe481afbbdae8bfe}{
virtual void {\bfseries \-Compute\-Area} ()}
\label{class_alfar_engine_1_1_components_1_1_light_a61fa6b5aee0fc4dabe481afbbdae8bfe}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a06d14889dd2bdec48d0ebd60784fcd05}{
virtual void {\bfseries \-Render\-Shadow\-Map} (\-Game\-Time p\-Time)}
\label{class_alfar_engine_1_1_components_1_1_light_a06d14889dd2bdec48d0ebd60784fcd05}

\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_ae3391eb019276db12b85928c2627466b}{
float {\bfseries m\-Range}}
\label{class_alfar_engine_1_1_components_1_1_light_ae3391eb019276db12b85928c2627466b}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a867cec1a3c9722f02c55daf15bc66112}{
\-Color {\bfseries m\-Color}}
\label{class_alfar_engine_1_1_components_1_1_light_a867cec1a3c9722f02c55daf15bc66112}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_aeeec8378b7059f9c39e93c4249b6072f}{
\-Rectangle {\bfseries m\-Area\-Rectangle}}
\label{class_alfar_engine_1_1_components_1_1_light_aeeec8378b7059f9c39e93c4249b6072f}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_af2616f630fef3c0e16c70705af71e653}{
\-Render\-Target2\-D {\bfseries m\-Render\-Target}}
\label{class_alfar_engine_1_1_components_1_1_light_af2616f630fef3c0e16c70705af71e653}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_afc454c6d5c1d6ef5aa356c3e2423b8b7}{
\-Texture2\-D {\bfseries m\-Shadow\-Map}}
\label{class_alfar_engine_1_1_components_1_1_light_afc454c6d5c1d6ef5aa356c3e2423b8b7}

\end{DoxyCompactItemize}
\subsection*{\-Static \-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_aaa77e08893c21ef233b588083f21e3ba}{
static \-List$<$ \hyperlink{class_alfar_engine_1_1_components_1_1_light}{\-Light} $>$ {\bfseries s\-Instances} = new \-List$<$\hyperlink{class_alfar_engine_1_1_components_1_1_light}{\-Light}$>$()}
\label{class_alfar_engine_1_1_components_1_1_light_aaa77e08893c21ef233b588083f21e3ba}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_ac023194403f8ed8e305661706e8c1052}{
static \hyperlink{class_alfar_engine_1_1_utilities_1_1_shadow_mapping_1_1_quad_render_component}{\-Quad\-Render\-Component} {\bfseries s\-Quad} = null}
\label{class_alfar_engine_1_1_components_1_1_light_ac023194403f8ed8e305661706e8c1052}

\end{DoxyCompactItemize}
\subsection*{\-Properties}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a087100d4237761f60700c71521752784}{
float {\bfseries range}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}
\label{class_alfar_engine_1_1_components_1_1_light_a087100d4237761f60700c71521752784}

\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a1abcc3a1745f9762bf070fa549b1a5d6}{
\-Color {\bfseries color}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}
\label{class_alfar_engine_1_1_components_1_1_light_a1abcc3a1745f9762bf070fa549b1a5d6}

\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_alfar_engine_1_1_components_1_1_light_a5f00dfe15eaeb1d321faf83549fa2d4a}{
\index{\-Alfar\-Engine\-::\-Components\-::\-Light@{\-Alfar\-Engine\-::\-Components\-::\-Light}!\-Render\-Shadows@{\-Render\-Shadows}}
\index{\-Render\-Shadows@{\-Render\-Shadows}!AlfarEngine::Components::Light@{\-Alfar\-Engine\-::\-Components\-::\-Light}}
\subsubsection[{\-Render\-Shadows}]{\setlength{\rightskip}{0pt plus 5cm}static void \-Alfar\-Engine.\-Components.\-Light.\-Render\-Shadows (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{class_alfar_engine_1_1_components_1_1_light_a5f00dfe15eaeb1d321faf83549fa2d4a}


\-Render the shadow\-Map of all visible light. 

\hypertarget{class_alfar_engine_1_1_components_1_1_light_a9e9a51fbe2b7984a1dae6125870a4995}{
\index{\-Alfar\-Engine\-::\-Components\-::\-Light@{\-Alfar\-Engine\-::\-Components\-::\-Light}!\-Update@{\-Update}}
\index{\-Update@{\-Update}!AlfarEngine::Components::Light@{\-Alfar\-Engine\-::\-Components\-::\-Light}}
\subsubsection[{\-Update}]{\setlength{\rightskip}{0pt plus 5cm}override void \-Alfar\-Engine.\-Components.\-Light.\-Update (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_alfar_engine_1_1_components_1_1_light_a9e9a51fbe2b7984a1dae6125870a4995}


\-Update this components (override to add specific behaviour) 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}


\-Reimplemented from \hyperlink{class_alfar_engine_1_1_components_1_1_a_component_ad600a3290e0db6305428786f5e3e2015}{\-Alfar\-Engine.\-Components.\-A\-Component}.



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-E\-:/\-X\-N\-A/alfar\-Engine/\-Alfar\-Engine/\-Components/\-Light.\-cs\end{DoxyCompactItemize}
